package edu.xhu.communityantiepidemicsystemback.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import edu.xhu.communityantiepidemicsystemback.dto.*;
import edu.xhu.communityantiepidemicsystemback.entity.Community;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lcx
 * @since 2022-06-20
 */
public interface ICommunityService extends IService<Community> {
    //分页查询全部信息
    IPage<Community> getAllCommunityInfo(Query query);
    //模糊查询
    IPage<Community> fuzzyCommunityInfo(Fuzzy fuzzy);
    //修改
    boolean editCommunityInfo(UpdateCommunity updateCommunity);
    //添加
    boolean addCommunityInfo(CreateCommunity createCommunity);
    //删除
    boolean delCommunityInfo(Integer id);


}
